package com.ws.shop.entity;

import java.util.HashMap;
import java.util.Map;

public class Payment extends BaseEntity{
	private int id;
	private String interfaces;
	private String business;
	private String mail;
	private String seckey;
	private int currency;
	private int fee;
	private int state;
	
	public final static Map<String,String> STATE_DESCS = new HashMap<String,String>();
	
	static{
		STATE_DESCS.put("0", "已禁用");
		STATE_DESCS.put("1", "正常");
	}
	
	public Payment(){}
	
	public Payment(int id, String interfaces, String business, String mail,
			String seckey, int currency, int fee, int state) {
		this.id = id;
		this.interfaces = interfaces;
		this.business = business;
		this.mail = mail;
		this.seckey = seckey;
		this.currency = currency;
		this.fee = fee;
		this.state = state;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getInterfaces() {
		return interfaces;
	}
	public void setInterfaces(String interfaces) {
		this.interfaces = interfaces;
	}
	public String getBusiness() {
		return business;
	}
	public void setBusiness(String business) {
		this.business = business;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	
	public String getSeckey() {
		return seckey;
	}

	public void setSeckey(String seckey) {
		this.seckey = seckey;
	}

	public int getCurrency() {
		return currency;
	}
	public void setCurrency(int currency) {
		this.currency = currency;
	}
	public int getFee() {
		return fee;
	}
	public void setFee(int fee) {
		this.fee = fee;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	
	
}